package com.apobates.forum.toro.test.core;
// 优惠劵
public class Coupon {
    private long id;
    // 名称
    private String names;
    // 折扣
    private double discount;
    // 订单ID
    private long orderId;

    public Coupon() {
    }

    public Coupon(long id, String names, double discount, long orderId) {
        this.id = id;
        this.names = names;
        this.discount = discount;
        this.orderId = orderId;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getNames() {
        return names;
    }

    public void setNames(String names) {
        this.names = names;
    }

    public double getDiscount() {
        return discount;
    }

    public void setDiscount(double discount) {
        this.discount = discount;
    }

    public long getOrderId() {
        return orderId;
    }

    public void setOrderId(long orderId) {
        this.orderId = orderId;
    }
}
